function Tool(){};
Tool.Gettimestamp=function(){
    var cDate = new Date();
    var date = cDate.getFullYear().toString()+ (cDate.getMonth() + 1).toString() + cDate.getDate().toString()+'d'
    +cDate.getHours().toString()+ 'h'
    +cDate.getMinutes().toString()+ 'm'
    +cDate.getSeconds().toString()+ 's'
    +cDate.getMilliseconds().toString();
    return date;
}
Tool.getObj=function(r,defaultValue){
    if(r==null)return defaultValue;
    return r;
}
module.exports = Tool;